type encoding/json.encOpts
26 uses
encoding/json (current package)
encode.go#L162: err := e.marshal(v, encOpts{escapeHTML: true})
encode.go#L285: func (e *encodeState) marshal(v any, opts encOpts) (err error) {
encode.go#L322: func (e *encodeState) reflectValue(v reflect.Value, opts encOpts) {
encode.go#L326: type encOpts struct {
encode.go#L333: type encoderFunc func(e *encodeState, v reflect.Value, opts encOpts)
encode.go#L358: fi, loaded := encoderCache.LoadOrStore(t, encoderFunc(func(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L428: func invalidValueEncoder(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L432: func marshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L454: func addrMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L473: func textMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L490: func addrTextMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L504: func boolEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L512: func intEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L520: func uintEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L530: func (bits floatEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L569: func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L655: func interfaceEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L663: func unsupportedTypeEncoder(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L677: func (se structEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L724: func (me mapEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L779: func encodeByteSlice(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L802: func (se sliceEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L842: func (ae arrayEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L863: func (pe ptrEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L891: func (ce condAddrEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
stream.go#L209: err := e.marshal(v, encOpts{escapeHTML: enc.escapeHTML})
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |